﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Donsole.WinForms
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
        }

        protected override void OnLoad(EventArgs e)
        {
            Donsole.Logger.Info("Loading MainForm");
            base.OnLoad(e);
        }

        private void button1_Click(object sender, EventArgs e)
        {
            throw new ApplicationException("Forced exception!");
        }
    }
}
